package com.falcon.service;

import java.util.List;

import com.falcon.domain.dos.QuestionDO;
import com.falcon.mvc.domain.BasePager;

import com.falcon.domain.req.QuestionQuery;
import com.falcon.domain.req.QuestionRequest;

public interface IQuestionService {

    Long save(QuestionRequest request);

    Boolean update(Long id, QuestionRequest request);

    Boolean deleteById(Long id);

    QuestionDO queryById(Long id);

    List<QuestionDO> queryList(QuestionQuery request);

    BasePager<QuestionDO> queryPager(QuestionQuery request);

    int batchDelete(List<Long> ids);

}

